package service

import "github.com/twwch/gin-sdk/mongoBase"

type IRepository interface {
	GetBase() *mongoBase.Base
}

var __repoInstance IRepository

func SetRepoInstance(repo IRepository) {
	__repoInstance = repo
}

func GetRepoInstance() IRepository {
	return __repoInstance
}
